Principal typing schemes in a polyadic - calculus

نویسندگان

  • Vasco T. Vasconcelos
  • Kohei Honda
چکیده

The present paper introduces a typing system for a version of Milner's polyadic calculus, and a typing inference algorithm linear on the size of the input. The central concept underlying the typing system is the notion of type assignment, where each free name in a term is assigned a type, the term itself being given multiple nametype pairs. This observation leads to a clean typing system for Milner's sorting, and induces an e cient algorithm to infer the typing of a term. The typing system enjoys a subject-reduction property and possesses a notion of principal typing scheme. The algorithm to reconstruct the principal typing scheme of a process, or to detect its inexistence, is proved correct with respect to the typing system.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Predicative Polymorphism in - Calculus

We present a formulation of the polyadic-calculus featuring a syntactic category for agents, together with a typing system assigning polymorphic types to agents. The new presentation introduces an operator to express recursion, and an ML-style let-constructor allowing to associate an agent to an agent-variable, and use the latter several times in a program. The essence of the monomorphic type s...

متن کامل

Type Inference for Record Concatenation and Multiple Inheritance

We show that the type inference problem for a lambda calculus with records, including a record concatenation operator, is decidable. We show that this calculus does not have principal types, but does have nite complete sets of types: that is, for any termM in the calculus, there exists an e ectively generable nite set of type schemes such that every typing for M is an instance of one the scheme...

متن کامل

A Note on a Typing System for the Higher-order -calculus

We study a typing assignment system for the higher-order-calculus. The system proposed is a straightforward extension of the typing system for the polyadic-calculus proposed by Kohei Honda and the author 6], by introducing a new type constructor for agents (i.e., processes abstracted on some sequence of names and variables.) We also present an eecient typing reconstruction algorithm to extract ...

متن کامل

Polyadic History-Dependent Automata for the Fusion Calculus

We extend History Dependent Automata to handle polyadic labels, and using a new symbolic semantics of fusion calculus we give a mapping into these Polyadic HDA with Negative Transitions, and show that the mapping is adequate with respect to hyperequivalence in the fusion calculus. This lays the grounds for HD-automata-based tools applicable not only to the monadic π-calculus but also to the fus...

متن کامل

On the Expressive Power of Polyadic Synchronisation in Π-calculus

We extend the π-calculus with polyadic synchronisation, a generalisation of the communication mechanism which allows channel names to be composite. We show that this operator embeds nicely in the theory of π-calculus, we suggest that it permits divergence-free encodings of distributed calculi, and we show that a limited form of polyadic synchronisation can be encoded weakly in π-calculus. After...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992